﻿namespace YwhLib
{
    /// <summary>
    /// 操作人员
    /// </summary>
    public class Operator
    {
        [FreeSql.DataAnnotations.Column(IsPrimary = true, IsIdentity = true)]
        /// <summary>
        /// 用户Id
        /// </summary>
        public int OperatorId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string TrueName { get; set; }

        /// <summary>
        /// 角色 
        /// admin管理员 secretary执行秘书
        /// </summary>
        public string Role { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
    }
}